const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.userName,
  roleId: state => state.user.roleId,
  role: state => state.user.role,
  routes: state => state.user.routes,
  btnList: state => state.user.btnList,
  userMsg: state => state.user.userMsg

}
export default getters
